Skip to main content
POST
Remove Objects

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
task_type
enum<string>
default:sync
required

Task Type.

  • async: Asynchronous tasks. Recommended for all new tasks and will be enforced in future updates.
  • sync: Synchronous tasks.
Available options:
async,
sync
image
file
required

Original image. - Image format: JPEG JPG PNG

  • Image size: No more than 5 MB.
  • Image resolution: Less than 4096x4096px.
mask
file
required

Mask image. - Image format: JPEG JPG PNG

  • Image size: No more than 5 MB.
  • Image resolution: Less than 4096x4096px.

Response

200 - application/json

Success

request_id
string
required

Request ID for debugging.

log_id
string
required

Log ID for debugging.

error_detail
object
required
task_id
string

Task ID for querying Querying Async Task Results.